A Guide On Links vs. Tags In Obsidian - Knowledge management - Obsidian Forum

A Guide On Links vs. Tags In Obsidian - Knowledge management - Obsidian Forum

Excerpt

The question “should I use tags or links” is asked regularly in the Obsidian discord. The prevailing answer seems to be “Well, it depends on what you want to do” or “There’s no correct answer”. Of course, this being the community it is, those are usually followed by helpful people digging into the specifics of the situation. But also, sometimes, the questioner just disappears, and I find myself wondering if they’ve given up over what might well appear to be a non-answer. Either way, it seems t...


The question “should I use tags or links” is asked regularly in the Obsidian discord.

The prevailing answer seems to be “Well, it depends on what you want to do” or “There’s no correct answer”. Of course, this being the community it is, those are usually followed by helpful people digging into the specifics of the situation. But also, sometimes, the questioner just disappears, and I find myself wondering if they’ve given up over what might well appear to be a non-answer.

Either way, it seems to me like it might be beneficial for us to have a standard response to this question, so I’ve tried to build one. However, I hope this document will continue to be updated (here or elsewhere) with the input of the whole community, so if I have missed relevant [factual] differences between links and tags (or made other errors), please call them out in the thread so I can update this!

Hello! Wondering about the nature of tags or links in Obsidian is very common!

The reality is, there isn’t one single answer to this question, but this article is intended to help you understand why one or the other might be better for your situation. We will lay out the facts regarding how tags and links work, so you can make the decision that suits you best.

In Obsidian, tags are actually a kind of link!

What Obsidian calls a link can be defined as: “A connection from one note to another note”.

In Obsidian, a tag is: “A connection from a note to an idea”.

Every note in your vault is a “node”, as you see when you open the graph view. Every tag is also a node, just with no file behind it! You can see this within the graph view by turning on “Tags” under the “Filters” option!

This means a few things:

  1. You don’t actually have to choose between tags and links for organization! They’re complimentary, and we’ll go over why in the next sections.
  2. You can’t go very wrong in whichever path you choose. The two ideas are so similar that there is almost always a way to make tags or links work mostly like the other. In other words: you can achieve nearly all the same functionality with either tags or links… the differences are almost entirely a matter of convenience!

But tags and links aren’t exactly the same, either, and those matters of convenience can become significant over time. Here is a list of factual differences between the two:

This is a big one!

When you change the name of a file within Obsidian, all links to that folder will automatically change to be pointing to the right place.

Changing tag names through the entire vault requires the help of a plugin (such as GitHub - pjeby/tag-wrangler: Rename, merge, toggle, and search tags from the Obsidian tag pane 189), or a risky find-and-replace procedure.

Clicking on a tag will open a search for all files that contain that tag.

Clicking on a link will either:

Instances of each tag are automatically counted up by the Obsidian tag pane! This means that ever tag automatically is also a visual counter of how often that tag appears in your vault.

#level 1/level 2/level 3 is a valid tag!

Tags are effectively a “virtual file system”, meaning they can be organized into a tree just like folders, except without the rigid properties of on-disk folders.

A link can have multiple “names”, in the format of An Alias To The Note Name. This can be handy, and is not something tags can do.

Tags can be defined at the top of a note, something like:

---
tags: [writing/blog, ideas, blog/status/draft]
---

This can be a useful way of adding organization to a note in an invisible way. While links must always be written out in text, front-matter can be hidden in Obsidian.

If you want to organize using links, then eventually you are going to encounter the idea of a “higher-order note”.

You might have heard the term “MoC” used around the Obsidian community. This stands for “map of content”, and they are a kind of “higher-order notes”. A higher-order note is any note that exists to help you navigate to other notes. The naming isn’t 100% agreed on, so don’t let that confuse you. “Indexes”, “MoCs”, “Higher-Order Notes”… They’re all pretty similar.

HONs solve the problem of navigation between groups of notes without the necessity of using tags. A HON fulfills the same function as a tag: A connection from a file to an idea. A HON is what would happen if, when you clicked on a tag, a note opened representing that tag.

HONs are objectively more functional than tags, as they have all the power of a note, including the ability to have their own tags, but that doesn’t mean they are necessarily “better”.

A HON:

A HON:

I hope this article has given you a good, basic understanding of how tags and links fundamentally work within Obsidian. There is no reason you need to choose just one or the other! You can mix and match easily, using the unique features of each to benefit your desired workflows.

I also help it gives you a little bit more of a sense of peace going into starting your Obsidian journey, knowing that this isn’t a “choose the wrong path and screw everything up” kind of choice. It’ll be fine, no matter what!

Good luck, and have fun making your notes awesome!